package com.gg.tsj.mapper;


import com.gg.common.pojo.SCell;
import com.gg.common.pojo.SGather;
import com.gg.common.pojo.SGatherDetails;
import com.gg.hc.search.PageVo;

import com.gg.tsj.vo.SGatherVo;

import java.util.List;

public interface SGatherXiaotanMapper {
    //申请
    void saveSGather(SGatherVo sGatherVo)throws Exception;
    void saveSGatherDetails(SGatherVo sGatherVo)throws Exception;
    //审批
    List<SGather> querySGatherFY(SGather sGather)throws Exception;

    SGatherVo querySGather(int id)throws Exception;
    List<SGatherDetails> querySGatherDetails(int id);

    void UpdateAudit(SGatherVo vo) throws Exception;

    List<SGather> querySGatherPage(SGather sGather)throws Exception;


    SCell queryByProductIdKey(String pid)throws Exception;

    void updateS_GATHER_DETAILS(int id)throws Exception;

    List<SGather> querySGatherPage_develop(SGather sGather)throws Exception;

    List<SGather> queryStorage(SGather SGather)throws Exception;

    void updateSGatherDetailsQuantityOfThisTime(SGatherVo vo)throws Exception;

    void updateSGathersToreTag(String gid) throws Exception;

    void  updateSGatherDetailsGATHERED_AMOUNT(SGatherVo vo)throws Exception;

    void updateS_CELLAMOUNT(SGatherDetails vo)throws Exception;//添加安全库存配当前存储量

    void updateS_GATHERMOUNT(SGatherVo vo)throws Exception;//添加入库申请已入库数量

    void  updateSGatherDetailsGatherTag(SGatherVo vo)throws Exception;

    int querygather_tag(String bh)throws Exception;

    void updateByToreTag(String bh)throws Exception;

    List<SGather> queryAudit(SGather SGather)throws Exception;//-----

    void updateWarehousingRegistration(String gid) throws Exception;

    void updateS_GATHER_attemperTimeupdateS_GATHER_attemperTime(SGatherVo vo) throws Exception;//完成时间

}
